package homework;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Partitioner;

/**
 * 让三个文件都进入同一个分区，进入同给一个reduce执行
 */
public class SortPartioner extends Partitioner<LongWritable, NullWritable> {
    @Override
    public int getPartition(LongWritable longWritable, NullWritable nullWritable, int numPartitions) {
        return 0;
    }
}
